[EMCAL-646] Adapt EMCAL raw reader to time-based format#4128
Conversation
f5da2f0 to
4e1d599
Compare
|
@shahor02 The adapted raw reader was tested with raw data from P2 taken by Martin today and showed to be working. For parsing the data within the timeframe we will need our own raw parser and cannot rely on the DPL raw parser as the firmware encodes a RCU trailer for each page which we need to chop and append a combined RCU trailer after the last page. Otherwise we now fully rely on RawFileReader and RDHUtils for raw parsing. The commit is ready for merging - could you please merge once the PR checks pass? |
|
@mfasDa OK, but it has already failed. |
- Stand-alone application now based on RawFileReader.
Reading full timeframe for EMCAL
- EMCAL RawReaderFile can be deleted
- EMCAL raw parsing based on RawReaderMemory
- Stop condition in RawReaderMemory: pageCounter = 0
- Move to RDHAny and RDHUtils. Drop support for CDHv3
- RawReaderMemory and AltroDecoder no longer need to
be templated.
- Remove EMCAL CDHv3 as support is dropped
- Support for page splitting:
+ Take RCU trailer from first page as common RCUtrailer
+ Sum payload size of all trailers in common trailer
+ Chop page RCUtrailer and append common trailer re-
encoded at the end of the payload.
- Fix decoding of the RCU trailer by cutting first and
last word
- Adapt raw fitter test macro to new raw format
|
@shahor02 It was a test macro for the raw fitter that was still using the old format. Fixed. |
|
@shahor02 I don't see where is the reason why the build test fail. The build finishes successfully and 100% of the test cases pass. Seems to be not related to this commit. |
|
@mfasDa : search for |
|
This is in QualityControl, which is a separate package. I was under the impression we first merge the change in O2 and afterwards the fix in QualityControl. Adding @Barthelemy and @knopers8 for the part in QualityControl. |
- EMCAL raw parser uses RDHAny and RDHUtils instead of a fixed raw version, needs adaption in accessing header fields - RawReaderMemory and AltroDecoder are no longer templated due to the change to RDHAny Change necessary due to the commit in O2: AliceO2Group/AliceO2#4128
- EMCAL raw parser uses RDHAny and RDHUtils instead of a fixed raw version, needs adaption in accessing header fields - RawReaderMemory and AltroDecoder are no longer templated due to the change to RDHAny Change necessary due to the commit in O2: AliceO2Group/AliceO2#4128
- EMCAL raw parser uses RDHAny and RDHUtils instead of a fixed raw version, needs adaption in accessing header fields - RawReaderMemory and AltroDecoder are no longer templated due to the change to RDHAny Change necessary due to the commit in O2: AliceO2Group/AliceO2#4128
|
If that cannot be done without forcing the merge, then we need someone with admin rights for O2. I can force it only in QualityControl. Barth will be back next week, I think he can do it. Have you confirmed that with the two PRs in, there are no errors and warnings for both CC7 and mac? |
|
@knopers8 This concerns QualityControl, right? Well, I just checked on mac where I don't see any warnings, however the changes are so tiny that I doubt there are new warnings introduced only for CentOS. Under this circumstance could maybe someone from O2 (@shahor02, @ktf) force-merge the change in o2 only and afterwards the fix in QualityControl should be trivial to merge. We need this patch for commissioning of the new firmware currently done at P2. |
Both, since any warning in the two will fail alidist.
We will also have to make a release of QC and bump it in alidist. I can do that though. |
|
OK, off we go... |
* [EMCAL-646] Adapt QualityControl to changes in EMCAL raw parsing - EMCAL raw parser uses RDHAny and RDHUtils instead of a fixed raw version, needs adaption in accessing header fields - RawReaderMemory and AltroDecoder are no longer templated due to the change to RDHAny Change necessary due to the commit in O2: AliceO2Group/AliceO2#4128 * trigger CI Co-authored-by: knopers8 <piotr.jan.konopka@cern.ch>
Reading full timeframe for EMCAL
be templated.